package org.yzh.web.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.yzh.protocol.jsatl12.AlarmId;

import java.time.LocalDateTime;

/**
 * @author lsj
 * @date 2021/1/13 9:45
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdasAlarmDO extends BaseDeviceInfo {
    private Long id;
    private Long serialNo;
    private Integer state;
    private Integer type;
    private Integer level;
    private Integer frontSpeed;
    private Integer frontDistance;
    private Integer deviateType;
    private Integer roadSign;
    private Integer roadSignValue;
    private Integer speed;
    private Integer altitude;
    private Float latitude;
    private Float longitude;
    private LocalDateTime dateTime;
    private Integer status;
    private AlarmId alarmId;
}
